WooCommerce\PayPalCommerce\Subscription\SubscriptionModule D

Total Complexity 127
Dependencies 26
Dependents 0
Total lines 1,003
Lines of code 709
Logical lines of code 374
Comment lines 166
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
subscriptions_api_integration()
D
16
53 313
run()
D
22
31 203
update_subscription_product_meta()
A
52 10 24
display_saved_credit_cards()
A
48 9 36
display_saved_paypal_payments()
A
49 9 31
render_paypal_subscription_fields()
A
42 6 52
add_payment_token_id()
S
55 4 20
renew()
S
68 2 7
set_product_config()
S
59 1 15
setup()
S
71 1 6
getKey()
S
91 1 2